package com.qyc.service;

import com.qyc.pojo.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qyc.utils.ResponseResult;

/**
* @author qinyc
* @description 针对表【base_account(系统用户)】的数据库操作Service
* @createDate 2023-06-20 16:29:45
*/
public interface AccountService extends IService<Account> {

    /**
     * @Author qinyc
     * @Description  登录接口
     * @version: v1.0
     * @Date 19:20 2023/6/20
     **/
    ResponseResult login(String username, String password);

    /**
     * @Author qinyc
     * @Description  获取当前用户信息
     * @version: v1.0
     * @Date 1:40 2023/6/22
     **/
    ResponseResult getAccountInfo(String token);
}
